#pragma once

#include <QtWidgets/QMainWindow>
#include "ui_myNodepad.h"
#include "qaction.h"
#include "qfiledialog.h"
#include "qmessagebox.h"
#include "qiodevice.h"
#include "qevent.h"
#include "qdebug.h"

class myNodepad : public QMainWindow
{
    Q_OBJECT

public:
    myNodepad(QWidget *parent = nullptr);
    ~myNodepad();
	//void keyPressEvent
	void keyPressEvent(QKeyEvent *k);
	void mousePressEvent(QMouseEvent *m);

private slots:
	void newActionSlot();
	void openActionSlot();
	void saveActionSlot();

private:
    Ui::myNodepadClass ui;
};
